<?php

/*
 * The folder structure:
 * 
 * C:----|Scripts|
 *               |---- dir1|---- file1.txt
 *               |         |---- file2.txt  
 *               |         |---- file3.txt
 *               |
 *               |---- dir2
 *               |   
 *               |---- dir3|---- file2.txt
 * 
 */


/* case 7: 
 * 
 * The source path contains wildcard characters.
 * The destination is an existing directory.
 * All matching files from the source directory are copied to destination.
 */

FileSystem::copy_file(
    '/test_dir/dir1/*.txt', '/test_dir/dir2', true);

FileSystem::delete_file('/test_dir/dir2/*.txt');
